package com.zbhk.qc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ZHULENAN
 *
 *
 */

@Data
@Entity
@Table(name = "vd_public_article")
public class VdPublicArticle {

    @Id
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    //微信公众号文章名字
    @Column(name = "name")
    private String name;

    //微信公众号文章url
    @Column(name = "urlname")
    private String urlname;

    //对应小程序id
    @Column(name = "sp_id")
    private Long spId;

    //对应小程序跳转url
    @Column(name = "sp_url")
    private String spUrl;

    //对应小程序跳转唯一推广码
    @Column(name = "sp_promo_code")
    private String spPromoCode;

    //状态
    @Column(name = "status")
    private Integer status;

    //创建时间
    @Column(name = "create_time")
    private String createTime;

}
